package com.plumecache.core.serializer;

/**
 * @author anson.yin
 * @date 2021/11/16 2:02 PM
 */
public interface CacheSerializer {
    <T> String serialize(T value);

    <T> T deserialize(String value, Class<T> clazz);
}
